#7-3 字符串加密【字符串】
def SecretStr():
    str1=input()
    result=''
    for char in str1:
        #遍历每个字符
        if char.isalpha():
            if char.isupper():
                new_char = chr((ord(char) - 65 + 5) % 26 + 65) if char.isupper() else chr((ord(char) - 97 + 3) % 26 + 97)
                result += new_char
            else:
                new_char = chr((ord(char) - 97 + 3) % 26 + 97) if char.islower() else char
                result += new_char
        else:
            result+=char
    print(result)
SecretStr()
